import type { App, Plugin } from 'vue';
import Table,{tableProps} from './table.vue';
import useTable from "./useTable";


Table.install = function(app:App){
  app.component(Table.name,Table);
  return app
}

export type { TableProps, TableInstance } from './table.vue';

export {useTable,tableProps};

export default Table as typeof Table & Plugin & {
  readonly useTable : typeof useTable
}